﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace SmartForm.Common
{
    [System.Runtime.InteropServices.ComVisibleAttribute(true)]
    public class ObjectForScriptingHelper
    {
        Form mainWindow;

        public ObjectForScriptingHelper(Form main)
        {
            mainWindow = main;
        }

        //JS调WinForm方法的接口

        public void HtmlCmd(string cmd)
        {
            MessageBox.Show(cmd);
        }
    }
}
